<template>
  <div>
    <el-input
      :type="obj.props.type"
      style="width: 100%"
      :placeholder="obj.info || '请输入内容'"
      size="default"
      :maxlength="obj.props.maxlength"
      :minlength="obj.props.minlength"
      :clearable="obj.props.clearable"
      :disabled="obj.props.disabled"
      :prefix-icon="obj.props.prefixIcon"
      :suffix-icon="obj.props.suffixIcon"
      :show-password="obj.props.showPassword"
      :show-word-limit="obj.props.showWordLimit"
    >
    </el-input>
  </div>
</template>

<script>
export default {
  name: 'inputView',
  props: {
    obj: Object
  },
  data() {
    return {
      num: 0
    }
  }
}
</script>

<style lang="scss" scoped>
:deep(.el-textarea) {
  max-width: 500px;
}
</style>
